package com.servicecloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@EnableEurekaClient
@EnableFeignClients(basePackages = { "com.servicecloud" })
@ComponentScan("com.servicecloud") // 追加一个扫描包(注意，追加一个扫描包后会服务原来的，所以如果是不通的扫描路径需要添加多个扫描包路径，逗号分隔)
public class Application {
	public static void main(String[] args) {
		SpringApplication.run(Application.class, args);
	}
}
